<?php

function printMessage($about_message) {

    echo '
        <div id="home_message">
            <span class="template_span">Message actuel: ' . stripslashes($about_message) . '</span>
	</div>
';
}

function printNewMessage() {

    echo '
        <div id="home_message">
            <span class="template_span">Nouveau message :</span>
            
            <form action="' . URL_ROOT . 'update-about" method="post"  enctype="multipart/form-data id ="visu">
                <p>
                <textarea class="template_input" name="new_about_message" id="visu" cols="40" rows="5"></textarea>
                </br>
                <input class="button" type="submit" value="Enregistrer" />
                </p>
             </form>
	</div>
';
}

function viewCreated($new_about_message) {

    echo '
        <div id="home_message">
        
        <span class="template_span">"Qui sommes nous" a été modifié</span>
	</div>';

    echo '
        <div id="home_message">
            <span class="template_span">Message actuel: ' . stripslashes($new_about_message) . '  </span>
	</div>';
}

?>
